const axios = require("./index");

module.exports.heroOfChoice = async () => {
  let data = axios.get("/lol-champ-select/v1/session");
  return data
  if (data.httpStatus !== 404 && data.myTeam) {
    return data.myTeam[0].championId;
  } else {
    return undefined;
  }
};
